'use strict'
module.exports = function (sequelize, DataTypes) {
    var Dealer = sequelize.define('jyj_dealer', {
        id: {
            type: DataTypes.INTEGER,
            primaryKey: true
        },
        phone: {
            type: DataTypes.INTEGER
        },
        username: {
            type: DataTypes.STRING
        },
        shopname: {
            type: DataTypes.STRING
        },
        prov: {
            type: DataTypes.STRING
        },
        city: {
            type: DataTypes.STRING
        },
        area: {
            type: DataTypes.STRING
        },
        address: {
            type: DataTypes.STRING
        },
        code: {
            type: DataTypes.STRING
        },
        idnumber: {
            type: DataTypes.STRING
        },
        userid: {
            type: DataTypes.STRING
        },
        fgs: {
            type: DataTypes.STRING
        },
        bsc: {
            type: DataTypes.STRING
        }
    }, {
        freezeTableName: true,
        timestamps: false
    });
    return Dealer;
};